<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: LENOVO
  Date: 2016/10/12
  Time: 21:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../inc/top.jsp"%>
<div class="panel-body">
    <form role="form" name="commentSet" id="commentSet" class="form-horizontal" action="/set/commentSet.press"  method="post">
        <h4>评论设置</h4>
        <h6>通过评论的设置功能，方便控制评论细节，防止评论垃圾。</h6>
        <div style="margin: 0px 100px">
            <c:if test="${applicationScope.comment['allow_not_login']=='true'}">
                <label><input type="checkbox" value="true" name="comment_allow_not_login" checked> 允许未登录用户发表评论。</label>
            </c:if>
            <c:if test="${applicationScope.comment['allow_not_login']!='true'}">
                <label><input type="checkbox" value="true" name="comment_allow_not_login" > 允许未登录用户发表评论。</label>
            </c:if>
        </div>
        <div style="margin: 0px 100px">
            <c:if test="${applicationScope.comment['must_audited']=='true'}">
                <label><input type="checkbox" value="true" name="comment_must_audited" checked > 评论必须经过管理员审核。 </label>
            </c:if>
            <c:if test="${applicationScope.comment['must_audited']!='true'}">
                <label><input type="checkbox" value="true" name="comment_must_audited"  > 评论必须经过管理员审核。 </label>
            </c:if>
        </div>
        <div class="form-group" style="margin: 10px 350px">
                <button type="submit" id="yes"  class="btn btn-primary">保存更改</button>
        </div>
    </form>
</div>
<%@include file="../inc/bottom.jsp"%>
